package com.group9.service.impl;

import com.group9.dto.AddressInfo;
import com.group9.mapper.UpdateInfoMapper;
import com.group9.service.AddAddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by 45865 on 2020/6/1.
 */
@Service
public class AddAddressServiceImpl implements AddAddressService {

    @Autowired
    UpdateInfoMapper updateInfoMapper;

    @Override
    public int addAddress(AddressInfo addressInfo) {
        int addAddress = updateInfoMapper.addAddress(addressInfo);
        return addAddress;
    }
}
